﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCEditProducto.ascx.cs" Inherits="PresentacionWeb.ControlesDeUsuario.UCEditProducto" %>


<table style="width:100%; height: 161px;">
                    <tr>
                        <td>
                            <asp:Label ID="Label10" runat="server" Text="ID Producto"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtIdProducto" runat="server" ReadOnly="True"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="Nombre"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtNombre" runat="server" Height="22px" Width="228px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label11" runat="server" Text="Codigo"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCodigo" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text="Descripcion"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtDescripcion" runat="server" Width="310px" Height="22px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label7" runat="server" Text="Fabricante"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtFabricante" runat="server" Width="228px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label9" runat="server" Text="Categoria"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCategorias" runat="server" Width="165px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label8" runat="server" Text="Precio"></asp:Label></td><td class="style1">
                            <asp:TextBox ID="txtPrecio" runat="server" Width="87px"></asp:TextBox></td></tr><tr>
                        <td class="style2">
                            <asp:Label ID="Label6" runat="server" Text="Video"></asp:Label></td>
                        <td class="style2">
                            <asp:FileUpload ID="fileUploadVideo" runat="server" Height="20px" 
                                style="margin-left: 0px" Visible="False" Width="234px" />
                        </td>
                    </tr>
                </table>
            <br />
<asp:Button ID="btnDeleteFotos" runat="server" Height="21px" 
    onclick="Button1_Click" Text="Borrar Imagenes Seleccionadas" Width="194px" />
            <br />
             <asp:Panel ID="Panel1" runat="server" BorderStyle="Groove" 
    Width="601px">
    <%--     --%><asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="False" 
                     UpdateMode="Conditional">
                     <ContentTemplate> 
                         <asp:PlaceHolder ID="PlaceHolderFotos" runat="server"></asp:PlaceHolder>
                         <br />
                         <br />
                         <asp:FileUpload ID="fpFoto" runat="server" />
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                         <asp:Label ID="Label12" runat="server" Text="Descripcion"></asp:Label>
                         &nbsp;&nbsp;<asp:TextBox ID="txtFotoDescripcion" runat="server" Height="22px" 
                             Width="235px"></asp:TextBox>
                         <br />
&nbsp;
             <asp:Button ID="btnAddFoto" runat="server" Height="20px" 
                 onclick="btnAddFoto_Click" Text="Agregar Foto" Width="99px" />
                     </ContentTemplate>
                     <Triggers>
                        
                         <asp:PostBackTrigger ControlID="btnAddFoto" /> 
                     </Triggers>
                 </asp:UpdatePanel> <%-- --%>
             </asp:Panel>